﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonClasses;

namespace TEST
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'tIMSDataSet.dtCity' table. You can move, or remove it, as needed.
            this.dtCityTableAdapter.Fill(this.tIMSDataSet.dtCity);

        }

        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Edit editForm = new Edit();
            editForm.bd = this.dtCityBindingSource;
            editForm.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
          
            CommonClasses.class_NumberToString numTiString = new class_NumberToString();

            //label1.Text = numTiString.NumbToStr(Convert.ToDecimal(textBox3.Text.Trim()),)
           
        }
    }
}
